POV-Ray : Newsgroups : povray.animations : PovPerson refused to come into my pov scene. : Re: PovPerson refused to come into my pov scene. Server Time
3 May 2024 20:18:00 EDT (-0400)
  Re: PovPerson refused to come into my pov scene.  
From: melo
Date: 13 Mar 2008 23:05:00
Message: <web.47d9f8f03d86ff96314b3d800@news.povray.org>
It appears you might have a different/local version of POVPerson.

When I tried your new simple syntax recommendations i.e

 #include "povperson.inc"
 ppFigure()

I got a Parse Error saying :  Expected 5 parameters but only 0 found.

Now a totally unrelated question:

Is it possible to specify movement constraints in POV_RAY.  I had managed to
calculate the coordinates of my Humanoids's forward heal after he strides
forward.  During Cross-Over pose to come in 3 Key-Frames, he moves his back leg
next to his forward leg. This move shifts his weight over forward leg, as his
centroid translates to be directly vertically over his forward heal.

Having said all that, throughout 3 key-Frames, I donot want his forward foot to
move at all as the joint rotations of some other 10-11 joints might be
changing, including the immediate parents of forward_heal_joint & forward_foot
pair's parents, which are forward leg's knee, and hip joints.   They get rotated
to bring Humanoid_Root over the forward heal. They are slightly bent as they are
weight bearing.

I was hoping for some constraint specification that would keep an object
location wise gripped.

Another application of constraint specification could be to ensure that the
floor my exercise room is solid, so as I move my Humanoid around, I would not
be able to dip any part of him/her below the surface.

Well, s/he has been entertaining me emerging through walls, stepping into
floors.   Now just by a new comers luck and mistakes, I had learned how I can
dismantle him/her, segment by segment into a pile.  No, no I am not into
violence, but animating what happens to a being when hit by a car could be
doable, not very realistically, for now.  Given how little I had accomplished
for having worked as long as I had on rudimentary animation, and how much I had
discovered I don't know as of yet.



> "Chris B" <nom### [at] nomailcom> wrote:
> > "melo" <mel### [at] coxnet> wrote in message
> > news:web.47d49e814b35a0df587ef5e20@news.povray.org...
> > > Hello, Chris,
> > >
> > > I have struggled some more with my animation, then started playing with
> > > POVPerson.  I was going to follow
> > > Quick reference step by step before I play with animation
> > >
> > > However I had not managed to go far:
> > >
> > > The online documentation recommends
> > >
> > > #include "povperson.inc"
> > >
> > > object
> > > {ppFigure("ann.inc","style1.inc","smile","standing.inc","ppoutfit1.inc")
> > > translate x*5}
> > >
> >
> > Ah yes. That is wrong. The example files like 'pp00example05.pov' contain
> > the later version of the syntax for the ppFigure macro, where all of the
> > parameters have been removed and where you need to 'include' files and call
> > macros to set specific options before calling the 'ppFigure' macro. This
> > allows defaults to be used and the parameters in the example above are
> > roughly the defaults.
> >
> > The minimum required to add a figure is therefore:
> >
> > #include "povperson.inc"
> > ppFigure()
> >
>
> Thanks Chris.  I will give this a whirl.  In the meantime.  I will still try to
> get the stick-figure Humanoid of my 1st try walk.  After all i had already
> invested 5-6 months in it. Ickkk!
>
> Who knows, there might be a way to export the current posed state of a skeletal
> object to Moray or Bishop from which one can interactively generate coordinates
> of next pose?
>
> Always the dreamer.
>
> Cheers,
> Meltem
>
> > Which adds an 'ann'  figure about 1.6 POV-Ray units tall standing at the
> > origin facing towards +Z. The hair looks terrible in this default figure as
> > it's cut to about 30 hairs to minimise the performance impact, so you may
> > want to try:
> >
> > #include "povperson.inc"
> > #include "ppstyle6.inc"
> > ppAddPoseFile("ppsitting.inc");
> > object {ppFigure() rotate y*180}
> > light_source { < 2, 60  ,-30> color rgb<1, 1  , 1  >*0.6 }
> > light_source { < 0, 24  ,-26> color rgb<1, 1  , 1  >*1.2 }
> > light_source { <5,  6.5,-10> color rgb<1, 0.5, 0.5>}
> > camera {
> >   location <-0.3, 1.08,-2.1>
> >   look_at  y
> > }
> >
> > which gives you a model with hair and a non-default pose.
> >
> > I do have an updated version of the users guide that I never got round to
> > publishing. I'll dig it out and see if it makes sense to replace the one
> > that's there.
> >
> > Regards,
> > Chris B.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.